package com.ben.tcptester.bean.ws;

/**
 * {"type":"message","data":""}
 * Created by Peter on 2017/6/15.message
 */
public class WsBaseResponse {
    private String type = "message";
    private Object data;

    public WsBaseResponse(String data) {
        this.data = data;
    }

    public WsBaseResponse(String type, Object data) {
        this.type = type;
        this.data = data;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
